package com.syx.service.impl;

import com.syx.dao.ShopDao;
import com.syx.entity.Goods;
import com.syx.service.ShopService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ShopServiceImpl implements ShopService {
    @Resource
    private ShopDao dao;

    @Override
    public List list(Map map) {
        return dao.list(map);
    }

    @Override
    public int del(String sid) {
        return dao.del(sid);
    }

    @Override
    public List brand() {
        return dao.brand();
    }

    @Override
    public int add(Goods goods) {
        return dao.add(goods);
    }
}
